#include<stdio.h>
int main()
{
    freopen("p0201.in","r",stdin);
    freopen("p0201.out","w",stdout);
    int x,y,z;
    while(3==scanf("%d%d%d",&x,&y,&z))
    {
        if(x<=y&&y<=z)
            printf("%d %d %d\n",x,y,z);
        else if(x<=z&&z<=y)
            printf("%d %d %d\n",x,z,y);
        else if(y<=x&&x<=z)
            printf("%d %d %d\n",y,x,z);
        else  if(y<=z&&z<=x)
            printf("%d %d %d\n",y,z,x);
        else  if(z<=y&&y<=x)
            printf("%d %d %d\n",z,y,x);
        else  if(z<=x&&x<=y)
            printf("%d %d %d\n",z,x,y);
    }
    return 0;
}
